﻿@using Orchard.ContentManagement
@using Orchard.MediaLibrary.Models
@{
    DocumentPart documentPart = Model.ContentPart;
    var mediaPart = ((ContentItem)Model.ContentItem).As<MediaPart>();
}

<a href="@mediaPart.MediaUrl">
    <img src=""/>
    <span>@T("Download")</span>
</a>